package com.htx.zqs.blesmartmask.ui.fragment.adapter;

import android.content.Context;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.clj.fastble.BleManager;
import com.clj.fastble.data.BleDevice;
import com.htx.zqs.blesmartmask.R;
import com.htx.zqs.blesmartmask.bean.ThirdInfoBean;

/**
 * Created by KomoriWu
 * on 2019/2/25.
 */

public class ThirdAdapter extends BaseQuickAdapter<ThirdInfoBean.DataBean.UserInfoBean, BaseViewHolder> {

    private Context mContext;

    public ThirdAdapter(Context mContext) {
        super(R.layout.item_third);
        this.mContext = mContext;
    }

    @Override
    protected void convert(BaseViewHolder helper, ThirdInfoBean.DataBean.UserInfoBean item) {
        helper.setText(R.id.tv_name, item.getName(mContext));
    }


}
